package cn.com.chengmandian.bike.service;

import cn.com.chengmandian.bike.model.EbOperationNoparking;
import cn.com.chengmandian.bike.model.vo.OperationNoparkingVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 运营禁停区配置 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2021-12-10
 */
public interface IEbOperationNoparkingService extends IService<EbOperationNoparking> {

    boolean isInNoparking(Integer areaId, BigDecimal lng, BigDecimal lat);

    List<OperationNoparkingVo> getNoparkingList(Integer areaId);

    List<OperationNoparkingVo> getNearNoparkingList(Integer areaId, BigDecimal lat, BigDecimal lng);
}
